import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  agvID: [{ required: true, message: "请选择车辆", trigger: "change" }],
  target: [{ required: true, message: "请选择目标站点", trigger: "change" }],
  fromStorePlaceID: [{ required: true, message: "请选择起始货位", trigger: "change" }],
  toStorePlaceID: [{ required: true, message: "请选择结束货位", trigger: "change" }],
});
